package com.globalresources.ui.struts.action.signature;

import com.globalresources.business.inface.IRelationService;
import com.globalresources.commons.AbstractAction;
import com.globalresources.commons.Pager;
import com.globalresources.commons.PagerService;
import java.util.*;
import com.globalresources.commons.AbstractAction;
import com.globalresources.commons.ReadFiles;
import com.ascertia.adss.client.api.*;

public class SignatureAction extends AbstractAction{
	private static final long serialVersionUID = 1L;
	private Pager pager;	
	private PagerService pagerService;
	private String currentPage;
	private String pagerMethod;
	private String totalRow;
	private String path;
	private ArrayList listfilefolder;
	
	public String listfolder()throws Exception{
		listfilefolder=(ArrayList)ReadFiles.ReadFolderlist(path);	
		return SUCCESS;
		}
	
	public String createEmptyField() throws Exception{
		
		
		return SUCCESS;
	}
	
	
	
	public Pager getPager() {
		return pager;
	}

	public void setPager(Pager pager) {
		this.pager = pager;
	}



	public PagerService getPagerService() {
		return pagerService;
	}



	public void setPagerService(PagerService pagerService) {
		this.pagerService = pagerService;
	}


	public String getCurrentPage() {
		return currentPage;
	}



	public void setCurrentPage(String currentPage) {
		this.currentPage = currentPage;
	}



	public String getPagerMethod() {
		return pagerMethod;
	}



	public void setPagerMethod(String pagerMethod) {
		this.pagerMethod = pagerMethod;
	}



	public String getTotalRow() {
		return totalRow;
	}



	public void setTotalRow(String totalRow) {
		this.totalRow = totalRow;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public ArrayList getListfilefolder() {
		return listfilefolder;
	}

	public void setListfilefolder(ArrayList listfilefolder) {
		this.listfilefolder = listfilefolder;
	}
}
